<!-- views/StaticHtmlPage.vue -->
<template>
  <div class="static-html-container">
    <iframe :src="htmlSrc" frameborder="0" width="100%" height="100%"></iframe>
  </div>
</template>

<script setup lang="ts" name="User">
import { ref } from 'vue'
const htmlSrc = ref()
//获取当前页面的路由
htmlSrc.value = window.location.href
console.log(htmlSrc.value)
</script>

<style scoped>
.static-html-container {
  width: 100%;
  height: 100vh;
}
</style>
